﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Token.Piker.Web.Default" %>

<%@ Register TagPrefix="uc" TagName="ucHead" Src="~/uc/head.ascx" %>
<%@ Register TagPrefix="uc" TagName="ucFoot" Src="~/uc/foot.ascx" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>皮壳网首页</title>
    <link href="css/default.css" rel="stylesheet" type="text/css" />
    <link href="js/fancyapps-fancyBox/source/jquery.fancybox.css" rel="stylesheet" type="text/css" />
    <link href="css/login.css" rel="stylesheet" type="text/css" />
    <script src="js/fancyapps-fancyBox/lib/jquery-1.9.0.min.js" type="text/javascript"></script>
    <script src="js/fancyapps-fancyBox/source/jquery.fancybox.pack.js" type="text/javascript"></script>
</head>
<body>
    <uc:ucHead ID="ucHeader" runat="server" />
    <form id="form1" runat="server">
        <div id="content">
            <div id="slide">
                <a href="#" id="this_a">
                    <img src="" id="this_pic" alt="" /></a>
                <ul id="pic_list" style="display: none">
                    <asp:Repeater ID="rptSlide" runat="server">
                        <ItemTemplate>
                            <li><a href='<%# Eval("URL") %>'>
                                <img src='<%# ResolveClientUrl(Eval("SRC").ToString()) %>' alt="" /></a></li>
                        </ItemTemplate>
                    </asp:Repeater>
                </ul>
                <span id="transparence" style="display: none"></span>
            </div>
            <div id="upload">
                <div id="upload_title">
                    <div id="title_content">
                        <h3>最近上传</h3>
                        <a href="Classify.aspx">
                            <img src="Images/more.gif" alt="More" /></a>
                    </div>
                </div>
                <div id="leftside">
                    <div id="pic_box">
                        <asp:Repeater ID="rptPicBox" runat="server">
                            <ItemTemplate>
                                <a href='<%# GetHref(Eval("ID"),Eval("Album")) %>'>
                                    <img src='<%# GetSrc(Eval("ID"),Container.ItemIndex) %>' alt='<%# Eval("ID") %>' />
                                </a>
                            </ItemTemplate>
                        </asp:Repeater>
                    </div>
                </div>
                <div id="rightside">
                    <dl>
                        <dt>
                            <a style="display: block; width: 350px; overflow: hidden">
                                <asp:Image ID="imagePreview" runat="server" /></a>
                        </dt>
                        <dd>
                            <ul>
                                <li>作者&nbsp;<asp:Label ID="lblAuthor" runat="server" ForeColor="#3ec256"></asp:Label>&nbsp;&nbsp;&nbsp;
                                在<asp:Label ID="lblLocation" runat="server" ForeColor="#3ec256"></asp:Label>拍摄</li>
                                <li>上传于<asp:Label ID="lblUploadTime" runat="server"></asp:Label></li>
                                <li>所属分类：<asp:Label ID="lblType" runat="server" ForeColor="#3ec256" Text=""></asp:Label></li>
                                <li>照片描述：<asp:Label ID="lblPhotoDescrip" runat="server"></asp:Label></li>
                            </ul>
                        </dd>
                    </dl>
                </div>
            </div>
            <div id="wrap">
                <div class="topic">
                    <div id="topic_title">
                        <h3>画题</h3>
                        <a href="Activity.aspx">
                            <img src="Images/more.gif" alt="More" /></a>
                    </div>
                    <ul id="fst_topic_ul">
                        <asp:Repeater ID="rptFstTopicUl" runat="server">
                            <ItemTemplate>
                                <li><a href="#">><%# Eval("Theme") %>
                                </a><span class="count">
                                    <%# Eval("PartCount") %></span>
                                    <p>
                                        <%# Eval("Descrip").ToString().Length > 26 ? Eval("Descrip").ToString().Substring(0, 26) + "…" : Eval("Descrip").ToString()%>
                                    </p>
                                </li>
                            </ItemTemplate>
                        </asp:Repeater>
                    </ul>
                    <ul id="scd_topic_ul">
                        <asp:Repeater ID="rptScdTopicUl" runat="server">
                            <ItemTemplate>
                                <li><a href="#">><%# Eval("Theme") %>
                                </a><span class="count">
                                    <%# Eval("PartCount") %></span>
                                    <p>
                                        <%# Eval("Descrip").ToString().Substring(0,26) + "……" %>
                                    </p>
                                </li>
                            </ItemTemplate>
                        </asp:Repeater>
                    </ul>
                </div>
                <div class="news">
                    <div id="news_title">
                        <h3>校园新闻图片</h3>
                        <a href="album_list.aspx">
                            <img src="Images/more.gif" alt="" /></a>
                    </div>
                    <dl>
                        <dt><a href="#" id="anchor_NewsAlbum_ID" runat="server">
                            <asp:Image ID="imgNewsAlbum" runat="server" ImageUrl="" AlternateText="" /></a></dt>
                        <dd>
                            <ul>
                                <li>事件：<asp:Label ID="lblThings" runat="server"></asp:Label></li>
                                <li>时间:
                                <asp:Label ID="lblTime" runat="server"></asp:Label></li>
                                <li>地点:
                                <asp:Label ID="lblPosition" runat="server"></asp:Label></li>
                                <li>图片数量:
                                <asp:Label ID="lblPicCount" runat="server"></asp:Label></li>
                            </ul>
                        </dd>
                    </dl>
                </div>
                <div style="clear: both">
                </div>
                <p>
                </p>
            </div>
        </div>
    </form>
    <uc:ucFoot ID="ucFooter" runat="server" />
    <p id="uploadHr" />
    <div id="prev">
        <img src="images/prevnext.png" alt="" />
    </div>
    <div id="next">
        <img src="images/prevnext.png" alt="" />
    </div>
    <p id="text">
    </p>
    <!---登录区域--->
    <div id="div_login" style="display: none">
        <div id="div_login_title">
            <h2>登录到皮壳网</h2>
        </div>
        <div id="login_content">
            <p>
                <label for="userName">
                    用户名：</label>
                <input class="text" type="text" name="username" id="username" />
            </p>
            <p>
                <label for="password">
                    密码：</label>
                <input class="text" type="password" name="password" id="password" />
            </p>
            <p>
                <input class="button" type="button" value="登录" id="btnSubmit" />
                <a id="anchor_create_account" href="Register.aspx">没有账号？立即注册</a>
            </p>
        </div>
    </div>
    <!---登录区域结束--->
    <script src="js/slide.js" type="text/javascript"></script>
    <script src="js/index.js" type="text/javascript"></script>
    <script src="js/login.js" type="text/javascript"></script>
</body>
</html>
